/* 字体声明，注意路径 */
@font-face {
    font-family: 'icomoon';
    src:  url('../fonts/icomoon.eot?7kkyc2');
    src: url('../fonts/icomoon.eot?7kkyc2#iefix') format('embedded-opentype'),
      url('../fonts/icomoon.ttf?7kkyc2') format('truetype'),
      url('../fonts/icomoon.woff?7kkyc2') format('woff'),
      url('../fonts/icomoon.svg?7kkyc2#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display:block;
 }
/* 这个文件写公共的结构对应的css样式 */
/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.style_red {
    color: #c81623;
}
/* 快捷导航栏模块开始啦 */
.shortcut {
    width: 100%;
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}
.shortcut ul li {
    float: left;
}
/* 选择所有的偶数的小li,做小竖线 */
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}
/* after伪元素写字体图标倒三角 */
.arrow-icon::after {
    content: "\e91e";
    font-family: 'icomoon';
    margin-left: 6px;
}
/* 快捷导航栏模块结束啦 */
.header {
    position: relative;
    height: 105px;
    /* background-color: skyblue; */
}
.header .logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
}
.logo h1 a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* font-size: 0;京东隐藏文字的做法 */
    /* 淘宝的做法，首行缩进让文字到盒子的外边，然后隐藏掉 */
    text-indent: -9999px;
    overflow: hidden;
}
/* .logo结束啦 */
/* 搜索栏开始啦 */
.search {
    position: absolute;
    left: 347px;
    top: 25px;
    width: 538px;
    height: 37px;
    border: 2px solid #b1191a;
}
.search input {
    float: left;
    width: 454px;
    height: 33px;
    padding-left: 10px;
}
.search button {
    float: left;
    width: 80px;
    height: 33px;
    background-color :#b1191a ;
    color: #fff;
}
/* 搜索栏结束了 */
/* 热词块开始了 */
.hotwrods {
    position: absolute;
    top: 69px;
    left: 347px;
}
.hotwrods a {
    margin: 0 13px;
}
/* 热词模块结束了 */
/* 购物车模块开始了 */
.shopcar {
    position: absolute;
    top: 25px;
    right: 60px;
    width: 138px;
    height: 37px;
    line-height: 37px;
    text-align: center;
    background-color: #f7f7f7;
    border: 1px solid #dfdfdf;

}
.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #db5858;

}
.shopcar::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}
.shopcar .count {
    position: absolute;
    top: -5px;
    left: 105px;
    width: 14px;
    height: 14px;
    line-height: 14px;
    font-size: 12px;
    background-color: #e60012;
    color: #fff;
    border-radius: 7px 7px 7px 0;

}
/* 购物车模块结束了 */

/* nav模块开始啦 */
.nav {
    height: 47px;
    border-bottom: 2px solid #b1191a;
}
.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #b1191a;
}
.nav .navitems {
    float: left;
}
.dropdown .dt {
    width: 210px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 16px;
    color: #fff;
}
.dropdown .dd {
    display: none;
    width: 210px;
    height: 465px;
    background-color: #c81623;
   margin-top: 2px;

}
.dropdown .dd ul li {
    position: relative;
    height: 30px;
    line-height: 30px;
    margin-left: 2px;
    padding-left: 10px;
    color: #fff;
    transition: all .5s;
}
.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}
.dropdown .dd ul li i::after {
    position: absolute;
    top: 1px;
    right: 10px;
    content: '\e920';
    font-family: 'icomoon';
    font-size: 14px;
    color: #fff;
}
.dropdown .dd ul li:hover {
    background-color: #f7f7f7;
    padding-left: 20px;
}
.dropdown .dd ul li:hover a {
    color: #c81623;
}
/* 左边商品分类结束了 */
.navitems ul li {
    float: left;
    margin-left: 15px;
}
.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    left: 45px;
    font-size: 16px;
    color: #333333;
    padding: 0 25px;
}
/* nav模块结束了 */
/* 底部模块开始了 */
.footer {
    padding-top: 30px;
    height: 415px;
    background-color: #f5f5f5;
}
.mod_service {
    height: 80px;
    border-bottom: 1px solid #e5e5e5;
}
.mod_service ul li {
    width: 240px;
    height: 80px;
    float: left;
    /* padding-left: 35px; */
}
.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    padding-right: 60px;
    background:url('../images/icons.png') no-repeat ;
}
.mod_service ul li .one {
    background-position:  -252px -3px;
}
.mod_service ul li .two {
    background-position:  -252px -54px;
}
.mod_service ul li .three {
    background-position:  -252px -105px;
}
.mod_service ul li .four {
    background-position:  -252px -156px;
}
.mod_service ul li .five {
    background-position:  -252px -207px;
}
.service_txt {
    height: 50px;
    line-height: 25px;
}
.service_txt h4 {
    font-size: 14px;
}
.service_txt p {
    font-size: 12px;
}
.mod_help {
    height: 188px;
    border-bottom: 1px solid #e5e5e5;
}
.mod_help dl {
    float: left;
    width: 200px;
    height: 188px;
    margin-left: 15px;
}
.mod_help dl:last-child {
    text-align: center;
    width: 90px;
}
.mod_help dl dt {
    font-size: 16px;
    font-weight: 700;
    padding: 20px 0 10px 0;
}
.mod_help dl dd {
    font-size: 12px;
    padding-bottom: 5px;
}
/* .mod_help结束了 */
.mod_copyright {
    text-align: center;
    padding-top: 20px;
}
.mod_copyright .links {
    padding-bottom: 15px;
}
.mod_copyright .links a {
    padding: 0 10px;
}
.mod_copyright .copyright {
    line-height: 24px;
}

